package com.hpsk.shopsatoken.model.user.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author huangwang2832511019
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LoginParamDto implements Serializable {

    @Schema(description = "手机号",example = "18888888888",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "手机号不能为空！")
    private String phone;

    @Schema(description = "密码",example = "123456",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "密码不能为空！")
    private String password;


}
